package cn.xutongxue.gtms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 教师-课题发布映射表
 * @TableName post_user_thesis_map
 */
@TableName(value ="post_user_thesis_map")
@Data
public class PostUserThesis implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 论文ID
     */
    private Long thesisId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}